package com.biz.primus.base.vo.promotion;

import com.biz.primus.base.vo.PageVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;

/**
 * 活动商品请求Vo
 *
 * @author david-liu
 */
@ApiModel(value = "活动商品请求Vo")
@Getter
@Setter
public class PromotionProductReqVo extends PageVo implements Serializable {
    private static final long serialVersionUID = -7101445607843449137L;

    @ApiModelProperty(value = "分类ID")
    private Long categoryId;

    @ApiModelProperty(value = "品牌ID")
    private Long brandId;

    @ApiModelProperty(value = "搜索关键字")
    private String keyword;

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.JSON_STYLE);
    }
}
